Skip to content

Make Package Installation strict by default#148

Merged
zack-nova merged 1 commit into
mainfrom
issue-141-install-record-version
May 12, 2026
Merged

Make Package Installation strict by default#148
zack-nova merged 1 commit into
mainfrom
issue-141-install-record-version

Conversation

@zack-nova
Copy link
Copy Markdown
Owner

Closes #141

Summary

  • make real install writes fail closed by default when required Runtime Bindings are missing or blank
  • keep dry-run previews non-mutating while still using strict Package Template Reference syntax checks
  • hide legacy --strict-bindings and public --allow-unresolved-bindings help entries while retaining compatibility parsing
  • append hyard vars init ... --out .harness/vars.yaml and retry guidance to binding/template-reference install failures

Dev Brief Mapping

  • Public install writes no longer produce unresolved placeholders as normal output.
  • Missing bindings and strict template render failures occur before package-owned runtime output or install records are written.
  • Help no longer teaches strictness as an advanced mode or unresolved bindings as normal behavior.

Validation

  • go test ./cmd/harness/cli -count=1
  • go test ./cmd/harness/cli/commands -count=1
  • go test ./cmd/hyard/cli -run 'Test.*Install|Test.*Help|TestHyardRoot' -count=1
  • go test ./cmd/harness/cli ./cmd/harness/cli/commands ./cmd/hyard/cli ./cmd/orbit/cli/harness ./cmd/orbit/cli/template -count=1
  • mise run fix
  • mise run ci

@zack-nova zack-nova merged commit 2e31016 into main May 12, 2026
9 checks passed
@zack-nova zack-nova deleted the issue-141-install-record-version branch May 12, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Strict non-interactive Package Installation

1 participant